package com.study.mike.model.po;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.study.mike.common.converter.MagicLandConverter;
import com.study.mike.common.enums.MagicalLandEnum;
import lombok.Data;

/**
 * @author KangHui
 * @Date 2023/3/24 17:45
 */
@Data
public class MagicLandImportPO {

    /**
     * gameName
     */
    @ExcelProperty(index = 0)
    private String gameName;

    /**
     * 编号
     */
    @ExcelProperty(index = 1)
    private String gameNo;

    /**
     * 类型
     */
    @ExcelProperty(index = 2, converter = MagicLandConverter.class)
    private MagicalLandEnum magicalType;

    /**
     * 开发公司（团队）
     */
    @ExcelProperty(index = 3)
    private String developCompany;

    /**
     * 售价
     */
    @ExcelProperty(index = 4)
    private String salePrice;

    /**
     * 发行时间
     */
    @ExcelProperty(index = 5)
    private String issueTime;

    /**
     * 体量
     */
    @ExcelProperty(index = 6)
    private String volume;

    /**
     * 作者
     */
    @ExcelProperty(index = 7)
    private String arthur;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty(index = 8)
    private String createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty(index = 9)
    private String updateTime;
}
